package jvm.memory;

import java.util.ArrayList;
import java.util.List;

public class PermOverflow {
	public void permOverflow() throws ClassNotFoundException{
		List<String> list=new ArrayList<String>();
		int i=0;
		while(true){
			list.add(String.valueOf(i++).intern());
		}
	}
	
	public static void main(String[] args) throws ClassNotFoundException {
		new PermOverflow().permOverflow();
	}
}
